hudTag = addMissionEventHandler ["draw3D",
{
	if (alive player && Visible) then {

			if (gExtraction) then {
					_range = 10000;
					[]spawn{
						sleep 5;
						Visible = false;
					};
				};

				_text = localize "str_SafeHouse";
				_dist = (player distance Pont) / _range;
				_color = [1, 1, 1, 1];

				if (_dist > 1) then {
                        _dist = 1
				};
				if (_dist < 0) then {
					_dist = 0
				};
				_color set [3, 1 - _dist];

				drawIcon3D [
					"\A3\ui_f\data\igui\cfg\actions\open_door_ca.paa",
					[1, 1, 1, 1],
					[
						ExPoint select 0,
						ExPoint select 1,
						(ExPoint select 2) + 2.0
					],
					1.5,
					1.5,
					0,
					_text,
					2,
					0.08,
					'PuristaMedium',
					"center",
					true
				];			
		
	};

}];